﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml.Serialization;

    [Serializable, GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, DesignerCategory("code"), XmlType(AnonymousType=true, Namespace="http://www.onvif.org/ver10/search/wsdl")]
    public class FindEvents
    {
        private System.DateTime endPointField;
        private bool endPointFieldSpecified;
        private bool includeStartStateField;
        private string keepAliveTimeField;
        private int maxMatchesField;
        private bool maxMatchesFieldSpecified;
        private SearchScope scopeField;
        private EventFilter searchFilterField;
        private System.DateTime startPointField;

        [XmlElement(Order=1)]
        public System.DateTime EndPoint
        {
            get
            {
                return this.endPointField;
            }
            set
            {
                this.endPointField = value;
            }
        }

        [XmlIgnore]
        public bool EndPointSpecified
        {
            get
            {
                return this.endPointFieldSpecified;
            }
            set
            {
                this.endPointFieldSpecified = value;
            }
        }

        [XmlElement(Order=4)]
        public bool IncludeStartState
        {
            get
            {
                return this.includeStartStateField;
            }
            set
            {
                this.includeStartStateField = value;
            }
        }

        [XmlElement(DataType="duration", Order=6)]
        public string KeepAliveTime
        {
            get
            {
                return this.keepAliveTimeField;
            }
            set
            {
                this.keepAliveTimeField = value;
            }
        }

        [XmlElement(Order=5)]
        public int MaxMatches
        {
            get
            {
                return this.maxMatchesField;
            }
            set
            {
                this.maxMatchesField = value;
            }
        }

        [XmlIgnore]
        public bool MaxMatchesSpecified
        {
            get
            {
                return this.maxMatchesFieldSpecified;
            }
            set
            {
                this.maxMatchesFieldSpecified = value;
            }
        }

        [XmlElement(Order=2)]
        public SearchScope Scope
        {
            get
            {
                return this.scopeField;
            }
            set
            {
                this.scopeField = value;
            }
        }

        [XmlElement(Order=3)]
        public EventFilter SearchFilter
        {
            get
            {
                return this.searchFilterField;
            }
            set
            {
                this.searchFilterField = value;
            }
        }

        [XmlElement(Order=0)]
        public System.DateTime StartPoint
        {
            get
            {
                return this.startPointField;
            }
            set
            {
                this.startPointField = value;
            }
        }
    }
}

